home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / GUSI / Examples / GUSIFinger.r < prev    next >
Text File  |  1993-06-20  |  1KB  |  41 lines

  1. /*********************************************************************
  2. Project    :    GUSI                -    Grand Unified Socket Interface
  3. File        :    GUSIFinger        -    Finger daemon
  4. Author    :    Matthias Neeracher <neeri@iis.ethz.ch>
  5. Started    :    07Feb93                                Language    :    MPW C
  6. Last        :    07Feb93
  7. *********************************************************************/
  8.  
  9. #define __kPrefSize    512
  10. #define __kMinSize    512
  11.  
  12. #define GUSI_PREF_VERSION '0110'
  13.  
  14. #include "GUSI.r"
  15.  
  16. resource 'GU∑I' (GUSIRsrcID) {
  17.     text, mpw, noAutoSpin, useChdir, approxStat, isTCPDaemon, noUDPDaemon
  18. };
  19.  
  20. resource 'SIZE' (-1) {
  21.     reserved,
  22.     acceptSuspendResumeEvents,
  23.     reserved,
  24.     canBackground,                /* we can background; we don't currently, but our sleep value */
  25.                                 /* guarantees we don't hog the Mac while we are in the background */
  26.     notMultiFinderAware,            /* this says we do our own activate/deactivate; don't fake us out */
  27.     onlyBackground,    /* this is definitely not a background-only application! */
  28.     dontGetFrontClicks,            /* change this is if you want "do first click" behavior like the Finder */
  29.     ignoreChildDiedEvents,        /* essentially, I'm not a debugger (sub-launching) */
  30.     not32BitCompatible,            /* this app should not be run in 32-bit address space */
  31.     isHighLevelEventAware,
  32.     localAndRemoteHLEvents,
  33.     reserved,
  34.     reserved,
  35.     reserved,
  36.     reserved,
  37.     reserved,
  38.     __kPrefSize * 1024,
  39.     __kMinSize * 1024    
  40. };
  41.